from django import template

register = template.Library()

@register.filter
def str_add(arg1, arg2):
    return str(arg1) + str(arg2)

@register.filter()
def lower(value):
    return value.lower()